<%@ page language="java" contentType="text/html; charset=UTF-8"
		 pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>医生出诊页</title>
	<link href="${pageContext.request.contextPath}/css/bootstrap.css" rel="stylesheet">
	<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-3.3.1.min.js"></script>
	<script src="${pageContext.request.contextPath}/js/bootstrap.js"></script>
<style>

		.div1{height:90px;background-color:#ccc}
		.navcent{text-align:center}
		.cevis{padding: 40px}
	</style>
</head>
<body>
	<div class="container">
		
		<div class="row">
				<div class="col-md-12 div1">
				<!--导航-->
					<p class="text-center pdoc"></p><h1>${planList.list[0].doctor.doc_name}医生的出诊时间</h1><p></p>
					<!--END导航-->
				</div>		
		</div>
		<div class="row">
			<div class="col-md-2">
				<!--搜索导航-->					   
					      <p><img src="${pageContext.request.contextPath}/imgs/${planList.list[0].doctor.doc_photo}" width="100px" height="150px">
						 				   
				<!--END搜索导航-->
			</p></div>
			<div class="col-md-3 cevis">					      
						  <h4>医生姓名:${planList.list[0].doctor.doc_name}</h4>
						  <h4>职务:${planList.list[0].doctor.doc_job}</h4>
						   <h4>所属科室:${planList.list[0].doctor.dept.dept_name}</h4>
			</div>
			<div class="col-md-5 cevis">
					<h3>从医经验:</h3>
					<h4>${planList.list[0].doctor.doc_desc}</h4>
			</div>
			<hr style="clear:both;width:60%;color:#ccc;margin-top:60px">
			<div class="row">
			
				<div class="col-md-12">
					<!--分页列表-->
						<table class="table table-striped">
							   <tbody><tr>
						              <th>编号</th>
									  <th>日期</th>
									  <th>时段</th>
						              <th>放号数量</th>
						              <th>剩余数量</th>
									  <th>挂号</th>
						       </tr>

							   <c:forEach var="p" items="${planList.list}">
						       	 <tr>
						            
						             <td>${p.plan_id}</td>
						             <td><fmt:formatDate value="${p.plan_workdate }" pattern="yyyy-MM-dd HH:mm:ss"/></td>
									 <td>${p.stringPwtime}</td>
									 <td>${p.plan_plancount}</td>
									 <td>${p.plan_bookcount}</td>
									 <td>
						            	<a href="/hospital/Plans/register/${p.plan_id}"><button type="button" class="btn btn-success" data-container="body">我要挂号</button></a>
						             </td>
						      	 </tr>
							   </c:forEach>
							   <tr>
								   <td colspan="8" style="text-align:center">
									   <nav>
										   <ul class="pagination">
											   <c:forEach var="page" begin="1" end="${planList.pages }">
												   <li><a class="page" id="${page }" href="/hospital/Plans/list/${planList.list[0].doctor.doc_id}?page=${page}">${page}</a></li>
											   </c:forEach>
										   </ul>
									   </nav>
								   </td>
							   </tr>
        
							 </tbody></table>
							 
					<!--END分页列表-->
				</div>
			</div>
		</div>
		
		
				
	</div>
	<footer class="navbar-fixed-bottom">
2   	
		<div class="row">
				<div class="col-md-12 div2">
				<!--页脚-->
					<p class="text-center">Copyright © 2010 - 2018 WEDOCTOR. All Rights Reserved.微医 版权所有 浙ICP备12034511号-2</p>
					<p class="text-center">13231421@123.com.cn</p>
					<!--END页脚-->
				</div>		
		</div>
5     </footer>
    <script src="%E5%8C%BB%E7%94%9F%E5%87%BA%E8%AF%8A%E5%88%97%E8%A1%A8_files/jquery-1.htm"></script>
    <script src="${pageContext.request.contextPath}/js/bootstrap.js"></script>
  

</body></html>